<table class="table table-responsive" id="identifications-table">
    <thead>
        <th>Name</th>
        <th>Phone</th>
        <th>Identity Card</th>
        <th>Bank Card</th>
        <th>Validity2 Res</th>
        <th>Validity4 Res</th>
        <th>User Id</th>
        <th>Validity</th>
        <th colspan="3">Action</th>
    </thead>
    <tbody>
    @foreach($identifications as $identification)
        <tr>
            <td>{!! $identification->name !!}</td>
            <td>{!! $identification->phone !!}</td>
            <td>{!! $identification->identity_card !!}</td>
            <td>{!! $identification->bank_card !!}</td>
            <td>{!! $identification->validity2_res !!}</td>
            <td>{!! $identification->validity4_res !!}</td>
            <td>{!! $identification->user_id !!}</td>
            <td>{!! $identification->validity !!}</td>
            <td>
                {!! Form::open(['route' => ['identifications.destroy', $identification->id], 'method' => 'delete']) !!}
                <div class='btn-group'>
                    <a href="{!! route('identifications.show', [$identification->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-eye-open"></i></a>
                    <a href="{!! route('identifications.edit', [$identification->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-edit"></i></a>
                    {!! Form::button('<i class="glyphicon glyphicon-trash"></i>', ['type' => 'submit', 'class' => 'btn btn-danger btn-xs', 'onclick' => "return confirm('Are you sure?')"]) !!}
                </div>
                {!! Form::close() !!}
            </td>
        </tr>
    @endforeach
    </tbody>
</table>